const pokeSum = 14

export function eatPoke(pokeHand,pokeAlone)
{
  if(pokeHand.score + pokeAlone.score  == pokeSum)
    return 1
  else
    return 0
}

export function resemPoke(pokeHandArray,pokeAlone)
{
  let resemCout = 0
  for (let i = 0; i < pokeHandArray.length; i++) {
    if(pokeAlone.score == pokeHandArray[i].score)
    {
      resemCout++
    }
  }
  return resemCout
}